EOFError: EOF when reading a line error in my function

welcome to shbcf.ru